package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppSignatureParseLogDao;
import com.vf.admin.client.service.AppSignatureParseLogService;
import com.vf.admin.miaodong.entity.AppSignatureParseLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppSignatureParseLogServiceImpl implements AppSignatureParseLogService {

    @Autowired
    AppSignatureParseLogDao appSignatureParseLogDao;

    @Override
    public void save(AppSignatureParseLog param) {
        appSignatureParseLogDao.add(param);
    }

    @Override
    public int signatureParseCount(Integer userId) {
        return appSignatureParseLogDao.signatureParseCount(userId);
    }

    @Override
    public int isParse(Integer userId, Integer parseUserId) {
        return appSignatureParseLogDao.isParse(userId, parseUserId);
    }
}
